<div class="page-group">
  <div id="page-layout" class="page page-current">
		<header class="bar bar-nav">
	        <h1 class="title">Tube上传后台</h1>
	          <button class="button pull-right button-danger logout">
    			退出登录
  			</button>
	    </header>
	<div class="content pc">

	  <% lectures.forEach(function(item){ %>
		<div class="card facebook-card">
		    <div class="card-header no-border">
		      <div class="facebook-avatar"><img src="<%=item.headimgurl%>"  width="34" height="34"></div>
		      <div class="facebook-name"><%=item.name%></div>
		      <div class="facebook-date">直播时间：<%=item.starttime%></div>
		    </div>
		    <div class="card-content">
		    <% if(item.pageType == "tube"){ %>
 			<div id="live_<%=item.roomUuid%>">
				<iframe height="" width="" src="<%=item.firstPageUrl%>" frameborder=0 allowfullscreen></iframe>
			</div>
		    <% }else { %>
		    <div style="text-align: center">未设置tube视频</div>
		    <% } %>
		    
		    </div>
		    <div class="card-footer no-border">
		      <div><button id="tube<%=item.roomUuid%>" data-pagetype="<%=item.pageType%>" data-pageurl="<%=item.firstPageUrl%>" data-roomuuid="<%=item.roomUuid%>" class="button tubeupload">设置/更新</button></div>
		    </div>
		  </div>
	  <% })%>
	  
	</div>  





  </div>
</div>